﻿using RockBus.DataContracts;
using System.ServiceModel;

namespace RockBus.Hosting.Interfaces
{
    public interface IServiceHostManager
    {
        void Start();

        void UpdateServiceHosts(PublisherConfiguration publisherConfiguration);

        void RegisterDynamicServiceHost(ReceivePortInfo receivePortInfo, ServiceHostBase serviceHost);

        void RegisterStaticServiceHost(ServiceHostBase serviceHost);
    }
}